<!DOCTYPE html>
<html   xmlns="http://www.w3c.org/1999/xhtml"
        xmlns:h="http://java.sun.com/jsf/html"
        xmlns:p="http://primefaces.org/ui"
        xmlns:f="http://xmlns.jcp.org/jsf/core">
    <h:head/>
    <h:body>
        <p:carousel value="#{carBean.cars}" var="car" itemStyle="width:200px" autoPlayInterval="3000" circular="true" effect="easeInStrong">
            <h:panelGrid columns="2">
                <h:outputText value="Model:" />
                <h:outputText value="#{car.model}" />
                <h:outputText value="Year:" />
                <h:outputText value="#{car.year}" />
                <h:outputText value="Manufacturer:" />
                <h:outputText value="#{car.manufacturer}" />
                <h:outputText value="Color:" />
                <h:outputText value="#{car.color}" />
            </h:panelGrid>
        </p:carousel>
    </h:body>
</html>